package com.homepage;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * App
 *
 * @author Jxy
 * @date 2022/3/7
 * @Description 网关
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableDiscoveryClient
public class App {
    public static void main(String[] args) {

        // 设置发送心跳 appType = 1
        // System.setProperty("csp.sentinel.app.type", "1");
        SpringApplication.run(App.class,args);
    }
}
